package cn.chenc.framework.demo.service;


import cn.chenc.framework.demo.entity.UserEntity;
import cn.chenc.framework.jpa.service.BaseService;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 　@description: TODO
 * 　@author secret
 * 　@date 2021/5/14 15:45
 *
 */
public interface UserService extends BaseService<UserEntity, Integer> {

    List<UserEntity> queryAll();

    Page<UserEntity> queryUserPageList(UserEntity userEntity);

    void insertUser(UserEntity userEntity);

    Page<UserEntity> baseApiPage(UserEntity userEntity) throws Exception;
}
